package com.jxt.app.entity;

import java.util.Date;

import org.nutz.dao.entity.annotation.Column;
import org.nutz.dao.entity.annotation.Id;
import org.nutz.dao.entity.annotation.Table;

import com.jxt.app.util.DateHelper;

@Table("apmessages")
public class Messages {
	
	@Column("msgids")
    private String msgid;
	

	
	@Column("sendname")
    private String sendname;
	
	@Column("sendtype")
    private String sendtype;
	
	@Column("dtoken")
	private String dtoken;
	
    /**
     * This field was generated by Abator for iBATIS.
     * This field corresponds to the database column apmessages.id
     *
     * @abatorgenerated Sun Jul 15 13:18:08 CST 2012
     */
	@Id
    private Long id;

    /**
     * This field was generated by Abator for iBATIS.
     * This field corresponds to the database column apmessages.sendid
     *
     * @abatorgenerated Sun Jul 15 13:18:08 CST 2012
     */
    @Column("sendid")
    private Long sendid;

    /**
     * This field was generated by Abator for iBATIS.
     * This field corresponds to the database column apmessages.receiveid
     *
     * @abatorgenerated Sun Jul 15 13:18:08 CST 2012
     */
    @Column("receiveid")
    private String receiveid;

    /**
     * This field was generated by Abator for iBATIS.
     * This field corresponds to the database column apmessages.msg
     *
     * @abatorgenerated Sun Jul 15 13:18:08 CST 2012
     */
    @Column("msg")
    private String msg;

    /**
     * This field was generated by Abator for iBATIS.
     * This field corresponds to the database column apmessages.filename
     *
     * @abatorgenerated Sun Jul 15 13:18:08 CST 2012
     */
    @Column("filename")
    private String filename;

    /**
     * This field was generated by Abator for iBATIS.
     * This field corresponds to the database column apmessages.fileurl
     *
     * @abatorgenerated Sun Jul 15 13:18:08 CST 2012
     */
    @Column("fileurl")
    private String fileurl;

    /**
     * This field was generated by Abator for iBATIS.
     * This field corresponds to the database column apmessages.infotype
     *
     * @abatorgenerated Sun Jul 15 13:18:08 CST 2012
     */
    @Column("infotype")
    private Short infotype;

    /**
     * This field was generated by Abator for iBATIS.
     * This field corresponds to the database column apmessages.can_reply
     *
     * @abatorgenerated Sun Jul 15 13:18:08 CST 2012
     */
	@Column("can_reply")
    private Short canReply;

    /**
     * This field was generated by Abator for iBATIS.
     * This field corresponds to the database column apmessages.send_time
     *
     * @abatorgenerated Sun Jul 15 13:18:08 CST 2012
     */
	@Column("send_time")
    private Date sendTime;

    /**
     * This field was generated by Abator for iBATIS.
     * This field corresponds to the database column apmessages.sysflag
     *
     * @abatorgenerated Sun Jul 15 13:18:08 CST 2012
     */
	@Column("sysflag")
    private Byte sysflag;

    /**
     * This field was generated by Abator for iBATIS.
     * This field corresponds to the database column apmessages.dialogid
     *
     * @abatorgenerated Sun Jul 15 13:18:08 CST 2012
     */
	@Column("dialogid")
    private String dialogid;

    /**
     * This field was generated by Abator for iBATIS.
     * This field corresponds to the database column apmessages.ischecked
     *
     * @abatorgenerated Sun Jul 15 13:18:08 CST 2012
     */
	@Column("ischecked")
    private Byte ischecked;

    /**
     * This field was generated by Abator for iBATIS.
     * This field corresponds to the database column apmessages.isread
     *
     * @abatorgenerated Sun Jul 15 13:18:08 CST 2012
     */
	@Column("isread")
    private Byte isread;

    /**
     * This method was generated by Abator for iBATIS.
     * This method returns the value of the database column apmessages.id
     *
     * @return the value of apmessages.id
     *
     * @abatorgenerated Sun Jul 15 13:18:08 CST 2012
     */
    public Long getId() {
        return id;
    }

    /**
     * This method was generated by Abator for iBATIS.
     * This method sets the value of the database column apmessages.id
     *
     * @param id the value for apmessages.id
     *
     * @abatorgenerated Sun Jul 15 13:18:08 CST 2012
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * This method was generated by Abator for iBATIS.
     * This method returns the value of the database column apmessages.sendid
     *
     * @return the value of apmessages.sendid
     *
     * @abatorgenerated Sun Jul 15 13:18:08 CST 2012
     */
    public Long getSendid() {
        return sendid;
    }

    /**
     * This method was generated by Abator for iBATIS.
     * This method sets the value of the database column apmessages.sendid
     *
     * @param sendid the value for apmessages.sendid
     *
     * @abatorgenerated Sun Jul 15 13:18:08 CST 2012
     */
    public void setSendid(Long sendid) {
        this.sendid = sendid;
    }

    /**
     * This method was generated by Abator for iBATIS.
     * This method returns the value of the database column apmessages.receiveid
     *
     * @return the value of apmessages.receiveid
     *
     * @abatorgenerated Sun Jul 15 13:18:08 CST 2012
     */
    public String getReceiveid() {
        return receiveid;
    }

    /**
     * This method was generated by Abator for iBATIS.
     * This method sets the value of the database column apmessages.receiveid
     *
     * @param receiveid the value for apmessages.receiveid
     *
     * @abatorgenerated Sun Jul 15 13:18:08 CST 2012
     */
    public void setReceiveid(String receiveid) {
        this.receiveid = receiveid;
    }

    /**
     * This method was generated by Abator for iBATIS.
     * This method returns the value of the database column apmessages.msg
     *
     * @return the value of apmessages.msg
     *
     * @abatorgenerated Sun Jul 15 13:18:08 CST 2012
     */
    public String getMsg() {
        return msg;
    }

    /**
     * This method was generated by Abator for iBATIS.
     * This method sets the value of the database column apmessages.msg
     *
     * @param msg the value for apmessages.msg
     *
     * @abatorgenerated Sun Jul 15 13:18:08 CST 2012
     */
    public void setMsg(String msg) {
        this.msg = msg;
    }

    /**
     * This method was generated by Abator for iBATIS.
     * This method returns the value of the database column apmessages.filename
     *
     * @return the value of apmessages.filename
     *
     * @abatorgenerated Sun Jul 15 13:18:08 CST 2012
     */
    public String getFilename() {
        return filename;
    }

    /**
     * This method was generated by Abator for iBATIS.
     * This method sets the value of the database column apmessages.filename
     *
     * @param filename the value for apmessages.filename
     *
     * @abatorgenerated Sun Jul 15 13:18:08 CST 2012
     */
    public void setFilename(String filename) {
        this.filename = filename;
    }

    /**
     * This method was generated by Abator for iBATIS.
     * This method returns the value of the database column apmessages.fileurl
     *
     * @return the value of apmessages.fileurl
     *
     * @abatorgenerated Sun Jul 15 13:18:08 CST 2012
     */
    public String getFileurl() {
        return fileurl;
    }

    /**
     * This method was generated by Abator for iBATIS.
     * This method sets the value of the database column apmessages.fileurl
     *
     * @param fileurl the value for apmessages.fileurl
     *
     * @abatorgenerated Sun Jul 15 13:18:08 CST 2012
     */
    public void setFileurl(String fileurl) {
        this.fileurl = fileurl;
    }

    /**
     * This method was generated by Abator for iBATIS.
     * This method returns the value of the database column apmessages.infotype
     *
     * @return the value of apmessages.infotype
     *
     * @abatorgenerated Sun Jul 15 13:18:08 CST 2012
     */
    public Short getInfotype() {
        return infotype;
    }

    /**
     * This method was generated by Abator for iBATIS.
     * This method sets the value of the database column apmessages.infotype
     *
     * @param infotype the value for apmessages.infotype
     *
     * @abatorgenerated Sun Jul 15 13:18:08 CST 2012
     */
    public void setInfotype(Short infotype) {
        this.infotype = infotype;
    }

    /**
     * This method was generated by Abator for iBATIS.
     * This method returns the value of the database column apmessages.can_reply
     *
     * @return the value of apmessages.can_reply
     *
     * @abatorgenerated Sun Jul 15 13:18:08 CST 2012
     */
    public Short getCanReply() {
        return canReply;
    }

    /**
     * This method was generated by Abator for iBATIS.
     * This method sets the value of the database column apmessages.can_reply
     *
     * @param canReply the value for apmessages.can_reply
     *
     * @abatorgenerated Sun Jul 15 13:18:08 CST 2012
     */
    public void setCanReply(Short canReply) {
        this.canReply = canReply;
    }

    /**
     * This method was generated by Abator for iBATIS.
     * This method returns the value of the database column apmessages.send_time
     *
     * @return the value of apmessages.send_time
     *
     * @abatorgenerated Sun Jul 15 13:18:08 CST 2012
     */
    public Date getSendTime() {
        return sendTime;
    }

    /**
     * This method was generated by Abator for iBATIS.
     * This method sets the value of the database column apmessages.send_time
     *
     * @param sendTime the value for apmessages.send_time
     *
     * @abatorgenerated Sun Jul 15 13:18:08 CST 2012
     */
    public void setSendTime(Date sendTime) {
        this.sendTime = sendTime;
    }

    /**
     * This method was generated by Abator for iBATIS.
     * This method returns the value of the database column apmessages.sysflag
     *
     * @return the value of apmessages.sysflag
     *
     * @abatorgenerated Sun Jul 15 13:18:08 CST 2012
     */
    public Byte getSysflag() {
        return sysflag;
    }

    /**
     * This method was generated by Abator for iBATIS.
     * This method sets the value of the database column apmessages.sysflag
     *
     * @param sysflag the value for apmessages.sysflag
     *
     * @abatorgenerated Sun Jul 15 13:18:08 CST 2012
     */
    public void setSysflag(Byte sysflag) {
        this.sysflag = sysflag;
    }

    /**
     * This method was generated by Abator for iBATIS.
     * This method returns the value of the database column apmessages.dialogid
     *
     * @return the value of apmessages.dialogid
     *
     * @abatorgenerated Sun Jul 15 13:18:08 CST 2012
     */
    public String getDialogid() {
        return dialogid;
    }

    /**
     * This method was generated by Abator for iBATIS.
     * This method sets the value of the database column apmessages.dialogid
     *
     * @param dialogid the value for apmessages.dialogid
     *
     * @abatorgenerated Sun Jul 15 13:18:08 CST 2012
     */
    public void setDialogid(String dialogid) {
        this.dialogid = dialogid;
    }

    /**
     * This method was generated by Abator for iBATIS.
     * This method returns the value of the database column apmessages.ischecked
     *
     * @return the value of apmessages.ischecked
     *
     * @abatorgenerated Sun Jul 15 13:18:08 CST 2012
     */
    public Byte getIschecked() {
        return ischecked;
    }

    /**
     * This method was generated by Abator for iBATIS.
     * This method sets the value of the database column apmessages.ischecked
     *
     * @param ischecked the value for apmessages.ischecked
     *
     * @abatorgenerated Sun Jul 15 13:18:08 CST 2012
     */
    public void setIschecked(Byte ischecked) {
        this.ischecked = ischecked;
    }

    /**
     * This method was generated by Abator for iBATIS.
     * This method returns the value of the database column apmessages.isread
     *
     * @return the value of apmessages.isread
     *
     * @abatorgenerated Sun Jul 15 13:18:08 CST 2012
     */
    public Byte getIsread() {
        return isread;
    }

    /**
     * This method was generated by Abator for iBATIS.
     * This method sets the value of the database column apmessages.isread
     *
     * @param isread the value for apmessages.isread
     *
     * @abatorgenerated Sun Jul 15 13:18:08 CST 2012
     */
    public void setIsread(Byte isread) {
        this.isread = isread;
    }

	public void setDtoken(String dtoken) {
		this.dtoken = dtoken;
	}

	public String getDtoken() {
		return dtoken;
	}

	public void setMsgid(String msgid) {
		this.msgid = msgid;
	}

	public String getMsgid() {
		return msgid;
	}

	public void setSendname(String sendname) {
		this.sendname = sendname;
	}

	public String getSendname() {
		return sendname;
	}

	public void setSendtype(String sendtype) {
		this.sendtype = sendtype;
	}

	public String getSendtype() {
		return sendtype;
	}
}